#include "Object.h"
#include "Worker.h"

VOID DriverUnload(IN PDRIVER_OBJECT pDriverObject)
{
    UNREFERENCED_PARAMETER(pDriverObject);
}


NTSTATUS DriverEntry(IN PDRIVER_OBJECT pDriverObject, IN PUNICODE_STRING pRegPath)
{
    UNREFERENCED_PARAMETER(pRegPath);

    NTSTATUS ntStatus;
    HANDLE hThread = NULL;

    pDriverObject->DriverUnload = DriverUnload;

    ntStatus = PsCreateSystemThread(&hThread, THREAD_ALL_ACCESS, NULL, NULL, NULL, WorkerStartRoutine, NULL);

    if (hThread)
        ZwClose(hThread);

    return ntStatus;
}